package com.wf.course.model.goods;

import java.math.BigDecimal;

public class GoodsInfo {
	
	  private Integer id;
	  private String goodsName; //商品名称
	  private Integer goodsTypeCode; //商品分类编号
	  private String goodsImg; //商品图片路径
	  private String onlineTime; //商品上线时间
	  private String outlineTime; //下线时间
	  private String goodsPrice; //商品价格
	  private String goodsTitle; //商品副标题
	  private String orignalPrice; //商品原价
	  private Integer goodsStatus; //商品状态（0.下线 1.上线）
	  private Integer orderNum; //商品排序
	  private String  typeName; //商品分类名称
	  private String goodsAuthor; //作者
	  private Integer goodsSaleNumber;//销量
	  private String unit;//计量单位
	  private Integer goodsInventory; //商品库存量
	  private BigDecimal freight;//商品运费
	  
	  
	public String getGoodsAuthor() {
		return goodsAuthor;
	}
	public void setGoodsAuthor(String goodsAuthor) {
		this.goodsAuthor = goodsAuthor;
	}
	public Integer getGoodsSaleNumber() {
		return goodsSaleNumber;
	}
	public void setGoodsSaleNumber(Integer goodsSaleNumber) {
		this.goodsSaleNumber = goodsSaleNumber;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public Integer getId() {
		return id;
	}
	public BigDecimal getFreight() {
		return freight;
	}
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public Integer getGoodsInventory() {
		return goodsInventory;
	}
	public void setGoodsInventory(Integer goodsInventory) {
		this.goodsInventory = goodsInventory;
	}
	public String getGoodsTitle() {
		return goodsTitle;
	}
	public void setGoodsTitle(String goodsTitle) {
		this.goodsTitle = goodsTitle;
	}
	public String getOrignalPrice() {
		return orignalPrice;
	}
	public void setOrignalPrice(String orignalPrice) {
		this.orignalPrice = orignalPrice;
	}
	public Integer getGoodsStatus() {
		return goodsStatus;
	}
	public void setGoodsStatus(Integer goodsStatus) {
		this.goodsStatus = goodsStatus;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public Integer getGoodsTypeCode() {
		return goodsTypeCode;
	}
	public void setGoodsTypeCode(Integer goodsTypeCode) {
		this.goodsTypeCode = goodsTypeCode;
	}
	public String getGoodsImg() {
		return goodsImg;
	}
	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}
	public String getOnlineTime() {
		return onlineTime;
	}
	public void setOnlineTime(String onlineTime) {
		this.onlineTime = onlineTime;
	}
	public String getOutlineTime() {
		return outlineTime;
	}
	public void setOutlineTime(String outlineTime) {
		this.outlineTime = outlineTime;
	}
	public String getGoodsPrice() {
		return goodsPrice;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public void setGoodsPrice(String goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	@Override
	public String toString() {
		return "GoodsInfo [id=" + id + ", goodsName=" + goodsName + ", goodsTypeCode=" + goodsTypeCode + ", goodsImg="
				+ goodsImg + ", onlineTime=" + onlineTime + ", outlineTime=" + outlineTime + ", goodsPrice="
				+ goodsPrice + ", goodsTitle=" + goodsTitle + ", orignalPrice=" + orignalPrice + ", goodsStatus="
				+ goodsStatus + ", orderNum=" + orderNum + ", typeName=" + typeName + "]";
	}

}
